const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer:{
    port:7000,
    allowedHosts: "all",
    
      proxy: {
        '/api': {
          target: 'http://localhost:8080', // 后端地址
          changeOrigin: true,
          pathRewrite: {
            '^/api': '/front',
            '^/pay': '/',
          }
        }
      },
    
  
  }
})
